package ooday05;

public class EnumTest {
    public static void main(String[] args) {
        Seasons s = Seasons.WINTER;
        switch (s) {
            case SPING:
                System.out.println("春天到了");
                break;
            case SUMMER:
                System.out.println("夏天到了");
            case AUTUMN:
                System.out.println("秋天到了");
            case WINTER:
                System.out.println("冬天到了");
        }
    }
}